#include <stdio.h>

int main()
{
    int a = 1;
    float b = 0.5;

    printf("%d\n", a);
    printf("%f\n", b);

    // 实现 四舍五入
    double c = 4.5;
    int i = c + 0.5;
    c = i;
    
    printf("%lf\n", c);

    return 0;
}
